package scrumtaculous.domain;

import java.util.List;

public class StoryDao extends DataAccessObject
{

   public Story save(Story story)
   {
      return (Story) super.save(story);
   }

   public Story find(Integer id)
   {
      return (Story) super.findById(id);
   }

   public void delete(Story story)
   {
      super.delete(story);
   }

   public List<Note> findNotes(Integer id)
   {
      return getSqlMapClientTemplate().queryForList(daoName + ".findNotes", id);
   }
}
